     $(function() {
		$( "#dialog-modal" ).dialog({
			height: 187,
            width: 449,
			modal: true,
            draggable: false,
            autoOpen: false,
            resizable: false,
            title: 'Anmelden:'
		});

        $( "#login .logLink" ).click(function() {
			$( "#dialog-modal" ).dialog( "open" );
			return false;
		});

        $( "#register" ).dialog({
            height: 187,
            width: 449,
            modal: true,
            draggable: false,
            autoOpen: false,
            resizable: false,
            title: 'Registrieren:'
    });

        $( "#login .logReg" ).click(function() {
            $("#register").dialog( "open" );
            return false;
        });
    });
